import '@assets/styles/app.less';
import routes from './routes';
import reducer from './reducer';

const service = {
  name: process.env.APP_NAME,
  render: routes,
  reducer
};

const event = new CustomEvent('onmoduleload', { detail: service });
window.dispatchEvent(event);

export default event;
